const {
	myRequest
} = require('@/utils/request.js')
module.exports = {
	// 待加入公司查询
	querySearchJoin: (params) => myRequest({
		url: "usrCompany/querySearchJoin",
		methods: 'POST',
		data: params,
		auth: false,
	}),
	// 申请加入公司
	applyCompany: (params) => myRequest({
		url: "usrCraftsmanCompany/applyCompany",
		methods: 'POST',
		data: params,
		auth: false,
	}),
	// 申请加入公司撤回
	updateAuditState: (params) => myRequest({
		url: "usrCompany/updateAuditState",
		methods: 'POST',
		data: params,
		auth: false,
	}),
	// 待加入公司人员查询
	queryJoinUsrInfo: (params) => myRequest({
		url: "usrCraftsmanCompany/queryJoinUsrInfo",
		methods: 'POST',
		data: params,
		auth: false,
	}),
	// 待加入公司人员查询
	teamJoin: (params) => myRequest({
		url: "usrCraftsmanCompany/teamJoin",
		methods: 'POST',
		data: params,
		auth: false,
	}),
	// 模板数据查询
	queryClassAppMenu: (params) => myRequest({
		url: "sysAppMenu/queryClassAppMenu",
		methods: 'POST',
		data: params,
		auth: false,
	}),
	// 修改模板
	updateCompanyModuleNo: (params) => myRequest({
		url: "usrCompany/updateCompanyModuleNo",
		methods: 'POST',
		data: params,
		auth: false,
	}),
	// 企业图片展示
	queryEnterprisePic: (params) => myRequest({
		url: "y1001/queryEnterprisePic",
		methods: 'POST',
		data: params,
		auth: false,
	}),
	// 产品展示、企业环境列表查询
	getPageDataAllPro: (params) => myRequest({
		url: "y1006/getPageDataAll",
		methods: 'POST',
		data: params,
		auth: false,
	}),
	// 产品、企业环境新增
	addPro: (params) => myRequest({
		url: "compStation/add",
		methods: 'POST',
		data: params,
		auth: false,
	}),
	// 产品、企业环境删除
	deletePro: (params) => myRequest({
		url: "compStation/delete",
		methods: 'POST',
		data: params,
		auth: false,
	}),
	// 产品、企业环境修改状态
	updateStatePro: (params) => myRequest({
		url: "compStation/updateState",
		methods: 'POST',
		data: params,
		auth: false,
	}),
	// 用户编辑信息查询
	queryCraftsmanById: (params) => myRequest({
		url: "usrCraftsman/queryCraftsmanById",
		methods: 'POST',
		data: params,
		auth: false,
	}),
	//修改名片卡片数据
	fileBatchUploadPublish: (params) => myRequest({
		url: "y1004/fileBatchUploadPublish",
		methods: 'POST',
		data: params,
		auth: true,
	}),
	// 公司&amp;个人主页商品信息查询
	selectPromotionState: (params) => myRequest({
		url: "yUsr1014/selectPromotionState",
		methods: 'POST',
		data: params,
		auth: true,
	}),
	// 企业轮播图查询
	queryPicList: (params) => myRequest({
		url: "ydylappCommon/queryPicList",
		methods: 'POST',
		data: params,
		auth: false,
	}),
	// 查询轮播图可上传张数
	queryUsrMainPicNum: (params) => myRequest({
		url: "usrMainPic/queryUsrMainPicNum",
		methods: 'POST',
		data: params,
		auth: true,
	}),
	// 轮播图列表查询
	queryUsrMainPic: (params) => myRequest({
		url: "usrMainPic/queryUsrMainPic",
		methods: 'POST',
		data: params,
		auth: true,
	}),
	// 轮播图删除
	deleteUsrMainPic: (params) => myRequest({
		url: "sysGeneralizeHistory/deleteUsrMainPic",
		methods: 'POST',
		data: params,
		auth: true,
	}),
	// 轮播图上传新增/修改
	insertUsrMainPic: (params) => myRequest({
		url: "y1022/insertUsrMainPic",
		methods: 'POST',
		data: params,
		auth: true,
	}),
	// 用户信息编辑
	editUsrCraftsman: (params) => myRequest({
		url: "y1012/editUsrCraftsman",
		methods: 'POST',
		data: params,
		auth: true,
	}),
	// 用户头像编辑
	editUsrCraftsmanLogo: (params) => myRequest({
		url: "usrCraftsman/updateUsrCraftsmanImage",
		methods: 'POST',
		data: params,
		auth: true,
	}),
	// 用户企业列表
	queryAll: (params) => myRequest({
		url: "https://job.ydylmold.cn/usrCraftsmanCompany/queryAll",
		methods: 'POST',
		data: params,
		auth: true,
		interception: true
	}),
	//企业资料查询
	searchOneNew: (params) => myRequest({
		url: "usrCompany/searchOneNew",
		methods: 'POST',
		data: params,
	}),
	// 编辑企业资料
	editUsrCompany: (params) => myRequest({
		url: "y1012/editUsrCompany",
		methods: 'POST',
		data: params,
		auth: true
	}),
	// 查询实名认证状态
	queryUsrCompanyStationList: (params) => myRequest({
		url: "compStation/queryUsrCompanyStationList",
		methods: 'POST',
		data: params,
		auth: false
	}),
	//保存更多资料
	insertCompanyStation: (params) => myRequest({
		url: "compStation/insertCompanyStation",
		methods: 'POST',
		data: params,
		auth: true
	}),
	// 删除更多资料
	deleteUsrCompanyStationById: (params) => myRequest({
		url: "compStation/deleteUsrCompanyStationById",
		methods: 'POST',
		data: params,
		auth: true
	}),
	// 个人新闻
	queryNewForSlef: (params) => myRequest({
		url: "usrCompanyNews/queryNewForSlef",
		methods: 'POST',
		data: params,
		auth: false
	}),
	// 公司新闻列表
	queryNewForCom: (params) => myRequest({
		url: "usrCompanyNews/queryNewForCom",
		methods: 'POST',
		data: params,
		auth: false
	}),
	// 公司新闻详情
	queryPortalNewsById: (params) => myRequest({
		url: "portalNews/queryPortalNewsById",
		methods: 'POST',
		data: params,
		auth: true
	}),
	updateCraftsman: (params) => myRequest({
		url: "usrCraftsman/updateCraftsman",
		methods: 'POST',
		data: params,
		auth: true
	}),
	/* 我的邀请 */
	// 间接推荐(个人)
	queryLevelTwoMyteam: (params) => myRequest({
		url: "usrCraftsman/queryLevelTwoMyteam",
		methods: 'POST',
		data: params,
		auth: true
	}),
	// 直接推荐(个人)
	queryMyTeam: (params) => myRequest({
		url: "usrCraftsman/queryMyTeam",
		methods: 'POST',
		data: params,
		auth: true
	}),
	// 间接推荐(企业)
	queryMyTeamComp: (params) => myRequest({
		url: "usrCompany/queryMyTeam",
		methods: 'POST',
		data: params,
		auth: true
	}),
	// 直接推荐(企业)
	queryLevelTwoMyteamComp: (params) => myRequest({
		url: "usrCompany/queryLevelTwoMyteam",
		methods: 'POST',
		data: params,
		auth: true
	}),
	// 个人信息
	queryEnterpriseContact: (params) => myRequest({
		url: "y1001Usr/queryEnterpriseContact",
		methods: 'POST',
		data: params,
		auth: true
	}),
	// 企业信息
	queryEnterpriseContactComp: (params) => myRequest({
		url: "y1001/queryEnterpriseContact",
		methods: 'POST',
		data: params,
		auth: true
	}),
	/* 邀请有礼*/
	// 活动规则
	selectSysAgreement: (params) => myRequest({
		url: "sysAgreement/selectSysAgreement",
		methods: 'POST',
		data: params,
		auth: true
	}),
	/* 订单明细*/
	// 订单直推(企业)
	queryCompanyFirstLevel: (params) => myRequest({
		url: "userOrder/queryCompanyFirstLevel",
		methods: 'POST',
		data: params,
		auth: true
	}),
	// 订单间推(企业)
	queryCompanyTwoLevel: (params) => myRequest({
		url: "userOrder/queryCompanyTwoLevel",
		methods: 'POST',
		data: params,
		auth: true
	}),
	// 金额汇总(企业)
	queryCompanyPage: (params) => myRequest({
		url: "userOrder/queryCompanyPage",
		methods: 'POST',
		data: params,
		auth: true
	}),
	//订单间推(个人)
	queryMyTeamTwoLevel: (params) => myRequest({
		url: "userOrder/queryMyTeamTwoLevel",
		methods: 'POST',
		data: params,
		auth: true
	}),
	//订单直推(个人)
	queryMyTeamFirstLevel: (params) => myRequest({
		url: "userOrder/queryMyTeamFirstLevel",
		methods: 'POST',
		data: params,
		auth: true
	}),
	// 金额汇总(个人)
	queryMyTeamPage: (params) => myRequest({
		url: "userOrder/queryMyTeamPage",
		methods: 'POST',
		data: params,
		auth: true
	}),
	/* 会员中心*/
	// 会员当前状态
	queryUsrVipState: (params) => myRequest({
		url: "usrVip/queryUsrVipState",
		methods: 'POST',
		data: params,
		auth: true
	}),
	// 会员能够获得的权限
	queryUsrVipType: (params) => myRequest({
		url: "usrVipType/queryUsrVipType",
		methods: 'POST',
		data: params,
		auth: true
	}),
	// 公共轮播图查询
	queryPicListPublic: (params) => myRequest({
		url: "ydylappCommon/queryPicList",
		methods: 'POST',
		data: params,
		auth: false
	}),
}
